package raie.mapcomponent;

import javax.microedition.lcdui.Display;
import javax.microedition.location.Coordinates;
import javax.microedition.midlet.MIDlet;
import javax.microedition.midlet.MIDletStateChangeException;

public class MapMidlet extends MIDlet {
	
	private MapComponent mc;

	protected void destroyApp(boolean unconditional)
			throws MIDletStateChangeException {
		// TODO Auto-generated method stub

	}

	protected void pauseApp() {
		// TODO Auto-generated method stub

	}

	protected void startApp() throws MIDletStateChangeException {
		Coordinates c = new Coordinates(-6.1753, 106.8272, 1);
		mc = new MapComponent(c,10);
		Display.getDisplay(this).setCurrent(mc);
	}

}
